package Person;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86138
 * Date: 2024-05-27
 * Time: 21:17
 */

public class Person {

    public String name;
    public String gander;
    public int age;

    public Person(String name, String gander, int age){//构造方法
        this.name = name;
        this.gander = gander;
        this.age = age;
    }

    public String toString(){
        return "[" + this.name + "," + this.gander + "," + this.age + "]";
    }

    public static void main(String[] args) {
        Person person = new Person("z","女",13);
        System.out.println(person);
    }
}
